home *** CD-ROM | disk | FTP | other *** search
/ Iron Maiden - Maiden Hell! / Iron Maiden - Maiden Hell! Promotional CD-ROM.iso / mac / promo.dxr / scripts_25_go sections = .ls < prev    next >
Encoding:
Text File  |  1998-09-16  |  2.1 KB  |  62 lines

  1. on mouseWithin
  2.   set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingerMask"]
  3. end
  4.  
  5. on mouseDown
  6.   global gSectionList, gWhereWeveGone
  7.   sound stop 1
  8.   puppetSound(1, 0)
  9.   set the loc of sprite 63 to point(the mouseH, the mouseV)
  10.   updateStage()
  11.   set the movieTime of sprite 69 to 0
  12.   set the movieRate of sprite 69 to 1
  13.   set the sound of member "thunderMOV" to 1
  14.   repeat with x = 1 to 3
  15.     set the member of sprite 63 to "lightning" & string(x)
  16.     updateStage()
  17.     set the member of sprite 63 to "lightning0"
  18.     updateStage()
  19.   end repeat
  20.   set the loc of sprite 63 to point(the locH of sprite the currentSpriteNum + (0.5 * the width of sprite the currentSpriteNum), the locV of sprite the currentSpriteNum + (0.5 * the height of sprite the currentSpriteNum))
  21.   repeat with y = 1 to 7
  22.     set the member of sprite 63 to "strike" & string(y)
  23.     updateStage()
  24.     set the member of sprite 63 to "lightning0"
  25.     updateStage()
  26.   end repeat
  27.   startTimer()
  28.   repeat while the timer < 19
  29.   end repeat
  30.   set the visible of sprite 61 to 0
  31.   repeat with ogg = 22 to 49
  32.     set the visible of sprite ogg to 0
  33.   end repeat
  34.   repeat while the right of sprite 50 > 160
  35.     set the locH of sprite 50 to the locH of sprite 50 - 10
  36.     updateStage()
  37.   end repeat
  38.   set the visible of sprite 4 to 0
  39.   set the visible of sprite 5 to 0
  40.   go(getAt(gSectionList, the currentSpriteNum - 50))
  41.   set the locH of sprite 50 to -400
  42.   repeat while the right of sprite 21 < 800
  43.     set the locH of sprite 21 to the locH of sprite 21 + 10
  44.     updateStage()
  45.   end repeat
  46.   repeat with ogg = 22 to 49
  47.     set the visible of sprite ogg to 1
  48.   end repeat
  49.   repeat with ugg = 51 to 58
  50.     set the visible of sprite ugg to 0
  51.   end repeat
  52.   do("setUp" & string(getAt(gSectionList, the currentSpriteNum - 50)) & "Section")
  53.   set gWhereWeveGone to string(getAt(gSectionList, the currentSpriteNum - 50))
  54.   set the member of sprite 60 to "flame2"
  55.   set the member of sprite 61 to "flame1"
  56.   set the visible of sprite 61 to 1
  57. end
  58.  
  59. on mouseLeave
  60.   set the cursor of sprite the currentSpriteNum to 0
  61. end
  62.